/**
 * @author: htqw
 * @description: MySQL data types
 * @see https://dev.mysql.com/doc/refman/8.0/en/data-types.html
 */

/**
 * @type {Object.<string, string>}
 * @description MySQL data types
 * @const
 */
export default {
    TINYINT: 'TINYINT',
    SMALLINT: 'SMALLINT',
    MEDIUMINT: 'MEDIUMINT',
    INT: 'INT',
    BIGINT: 'BIGINT',
    FLOAT: 'FLOAT',
    DOUBLE: 'DOUBLE',
    DECIMAL: 'DECIMAL',
    BIT: 'BIT',
    BOOL: 'BOOL',
    BOOLEAN: 'BOOLEAN',
    SERIAL: 'SERIAL',
    TINYTEXT: 'TINYTEXT',
    TEXT: 'TEXT',
    MEDIUMTEXT: 'MEDIUMTEXT',
    LONGTEXT: 'LONGTEXT',
    TINYBLOB: 'TINYBLOB',
    BLOB: 'BLOB',
    MEDIUMBLOB: 'MEDIUMBLOB',
    LONGBLOB: 'LONGBLOB',
    CHAR: 'CHAR',
    VARCHAR: 'VARCHAR',
    BINARY: 'BINARY',
    VARBINARY: 'VARBINARY',
    ENUM: 'ENUM',
    SET: 'SET',
    DATE: 'DATE',
    DATETIME: 'DATETIME',
    TIMESTAMP: 'TIMESTAMP',
    TIME: 'TIME',
    YEAR: 'YEAR',
    JSON: 'JSON',
    GEOMETRY: 'GEOMETRY',
    POINT: 'POINT',
    LINESTRING: 'LINESTRING',
    POLYGON: 'POLYGON',
    GEOMETRYCOLLECTION: 'GEOMETRYCOLLECTION',
    MULTIPOINT: 'MULTIPOINT',
    MULTILINESTRING: 'MULTILINESTRING',
    MULTIPOLYGON: 'MULTIPOLYGON',
    NULL: 'NULL'
}